﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelectDepartment.aspx.cs"
    Inherits="BasicBase_Vehicle_SelectDepartment" StylesheetTheme="Content" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>部门选择</title>
    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellspacing="0" cellpadding="0" width="100%" class="intable">
            <tr>
                <td width="280">
                    备选部门列表
                </td>
                <td width="60">
                </td>
                <td width="280">
                    已选部门列表
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <asp:DropDownList ID="DepartmentList" runat="server" Width="100%" AutoPostBack="True"
                        OnSelectedIndexChanged="PermissionCategoryList_SelectedIndexChanged" DataTextField="ShortName"
                        DataValueField="DepartmentID">
                    </asp:DropDownList>
                </td>
                <td>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:ListBox ID="AllList" runat="server" Height="300px" Width="100%" SelectionMode="Multiple">
                    </asp:ListBox>
                </td>
                <td align="center">
                    <asp:Button ID="ButtonAdd" runat="server" Text="→" OnClick="ButtonAdd_Click" />
                    <br />
                    <br />
                    <asp:Button ID="ButtonRemove" runat="server" Text="←" OnClick="ButtonRemove_Click" />
                    <br />
                    <br />
                    <asp:Button ID="btnAllAdd" runat="server" Text=" >" OnClick="btnAllAdd_Click" ToolTip="全部" />
                    <br />
                    <br />
                    <asp:Button ID="btnClear" runat="server" Text="< " OnClick="btnClear_Click" ToolTip="全部" />
                </td>
                <td>
                    <asp:ListBox ID="SelectList" runat="server" Height="300px" Width="100%" SelectionMode="Multiple">
                    </asp:ListBox>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td align="center">
                    &nbsp;
                </td>
                <td align="center">
                    &nbsp;
                </td>
                <td align="center">
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: center">
                    <asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" Text="确定" />
                    <asp:Button ID="btnCannal" runat="server" OnClick="btnCannal_Click" Text="取消" />
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
